package com.yf.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yf.domain.dict.DictDetail;
import com.yf.model.query.DictDetailQueryCriteria;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

/**
 * @author chentianwei
 * @date 2024-10-14 13:57
 * @description 字典数据DAO
 */
@Mapper
public interface DictDetailMapper extends BaseMapper<DictDetail> {


    List<DictDetail> findAll(@Param("criteria") DictDetailQueryCriteria criteria);

    void deleteByDictBatchIds(@Param("dictIds") Set<Long> dictIds);
}
